﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL.Entities;
using BLL.Entities.Company;
using BLL.Entities.Client;

namespace HTAProDataImporter.Transport
{
    public class ImportDataStore
    {
        public Guid ActiveCompanyID;
        public Dictionary<string, BaseBusinessEntity> Companies;
        public Dictionary<string, BaseBusinessEntity> Agents;
        public Dictionary<string, BaseBusinessEntity> Judges;
        public Dictionary<string, BaseBusinessEntity> PoliceOfficers;
        public Dictionary<string, BaseBusinessEntity> Courts;
        public Dictionary<string, int> ICON;
        public DynamicEnumType CourtProsecutorType;
        public DynamicEnumType BankAccountType;
        public Dictionary<string, DynamicEnumTypeValue> BankAccountTypeValues;
        public DynamicEnumType GenderType;
        public DynamicEnumType ContactMethodType;
        public Dictionary<string, DynamicEnumTypeValue> ContactMethodTypeValues;



        public Dictionary<string, BankAccount> BankAccounts;
        public Dictionary<string, ClientInfo> Clients;

        public ImportDataStore()
        {
            Companies = new Dictionary<string, BaseBusinessEntity>();
            Agents = new Dictionary<string, BaseBusinessEntity>();
            Judges = new Dictionary<string, BaseBusinessEntity>();
            PoliceOfficers = new Dictionary<string, BaseBusinessEntity>();
            Courts = new Dictionary<string, BaseBusinessEntity>();
            ICON = new Dictionary<string, int>();
            BankAccountTypeValues = new Dictionary<string, DynamicEnumTypeValue>();
            BankAccounts = new Dictionary<string, BankAccount>();
            ContactMethodTypeValues = new Dictionary<string, DynamicEnumTypeValue>();
            Clients = new Dictionary<string, ClientInfo>();

        }
    }
}
